package com.dg.service;

import com.dg.common.PageQuery;
import com.dg.common.PageResult;
import com.dg.dto.UserDto;
import com.dg.dto.UserTransferDto;
import com.dg.param.LoginParam;
import com.dg.param.UserParam;
import com.dg.pojo.User;

import java.util.List;

public interface UserService {

    public User login(LoginParam param);

    PageResult<UserDto> list(Integer deptId, PageQuery pageQuery);

    void save(UserParam param);

    void update(UserParam param);

    void delete(Integer id);

    List<UserTransferDto> getAll();
}
